package com.zoer.domain;
// default package



/**
 * DrugConflict entity. @author MyEclipse Persistence Tools
 */

public class DrugConflict  implements java.io.Serializable {


    // Fields    

     private String id;
     private Drug drugByDrugid1;
     private ConflictType conflictType;
     private Drug drugByDrugid2;


    // Constructors

    /** default constructor */
    public DrugConflict() {
    }

	/** minimal constructor */
    public DrugConflict(String id) {
        this.id = id;
    }
    
    /** full constructor */
    public DrugConflict(String id, Drug drugByDrugid1, ConflictType conflictType, Drug drugByDrugid2) {
        this.id = id;
        this.drugByDrugid1 = drugByDrugid1;
        this.conflictType = conflictType;
        this.drugByDrugid2 = drugByDrugid2;
    }

   
    // Property accessors

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }

    public Drug getDrugByDrugid1() {
        return this.drugByDrugid1;
    }
    
    public void setDrugByDrugid1(Drug drugByDrugid1) {
        this.drugByDrugid1 = drugByDrugid1;
    }

    public ConflictType getConflictType() {
        return this.conflictType;
    }
    
    public void setConflictType(ConflictType conflictType) {
        this.conflictType = conflictType;
    }

    public Drug getDrugByDrugid2() {
        return this.drugByDrugid2;
    }
    
    public void setDrugByDrugid2(Drug drugByDrugid2) {
        this.drugByDrugid2 = drugByDrugid2;
    }
   








}